package com.anjubao.parking.municipal.parkinglot.model;

import com.anjubao.parking.municipal.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;


@TableName("parking_lot")
@NoArgsConstructor
@AllArgsConstructor
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ToString
public class ParkingLot extends BaseEntity<ParkingLot> {

    private static final long serialVersionUID = -9177466772776162728L;

    @TableId(type = IdType.INPUT)
    protected Long id;

    private String name;

    private String code;

    private String location;

    private Integer type;

    private Double latitude;

    private Double longitude;

    private String affiliatedTo;

    private Long operatorId;

    private Integer totalSlots;

    private Integer exits;

    private Integer entries;

    private Integer reservedSlots;

    private Integer videoPorts;

    private String geoImgUrl;

    private String panoramaImgUrl;

    private Integer provinceId;

    private String provinceName;

    private Integer cityId;

    private String cityName;

    private Integer districtId;

    private String districtName;

    private Integer geomagnetismPorts;


}
